.newPrimaryClass {
  height: 100%;
  background-color: #f5f5f5;

  &_top {
    width: 100%;
    height: 40px;
    padding: 0px 20px;
    display: flex;
    align-items: center;
    background-color: #fff;

    .into_index {
      width: 100px;
      height: 28px;
      text-align: center;
      line-height: 28px;
      color: #101010;
      font-size: 14px;
      border: 1px solid #BBBBBB;
      position: relative;
      border-radius: 4px;
      cursor: pointer;

      i {
        top: 7px;
      }
    }

    i {
      position: absolute;
      right: 4px;
      top: 8px;
    }

    .current {
      width: 120px;
      height: 30px;
      text-align: center;
      line-height: 30px;
      background: #409EFF 10000%;
      border: 1px solid #fff;
      position: relative;
      font-size: 14px;
      color: #fff;
      margin-left: 10px;
      border-radius: 4px;
      cursor: pointer;

      &::before {
        content: '';
        display: inline-block;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #fff;
        position: absolute;
        left: 6px;
        top: 10px;
      }
    }
  }

  // 商家类型与返回
  .newPrimaryClass_type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    height: 90px;
    background-color: #f5f5f5;

    span {
      color: #409EFF;
    }

    .el-button {
      width: 100px;
      height: 40px;
    }
  }

  // 新增分类信息
  .classInfo {
    padding: 50px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;

    span {
      display: inline-block;
      text-align: right;
      margin-right: 10px;
    }

    .className {
      input {
        width: 60%;
        height: 40px;
        border-radius: 4px;
        padding-left: 10px;
        outline: none;
        border: 1px solid rgba(0, 0, 0, 0.3);
      }
    }

    .classImg {
      display: flex;

      .toFile {
        position: relative;
        width: 100px;
        height: 100px;
        border: 1px dashed rgba(0, 0, 0, 0.3);
        border-radius: 3px;

        input {
          width: 100%;
          height: 100%;
          position: absolute;
          top: 0;
          left: 0;
          z-index: 2;
          opacity: 0;
        }

        div {
          width: 100%;
          height: 100%;
          position: absolute;
          top: 0;
          left: 0;
          z-index: 1;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
        }
      }

      .cateImg {
        width: 100px;
        height: 100px;
        position: relative;

        img {
          width: 100%;
          height: 100%;
        }

        .cateImgShadow {
          width: 100%;
          height: 100%;
          position: absolute;
          top: 0;
          left: 0;
          display: flex;
          flex-direction: column;
          justify-content: center;
          background-color: rgba(0, 0, 0, 0.3);
          color: #fff;
          align-items: center;
          opacity: 0;
          transition: 0.2s;

          i {
            cursor: pointer;
          }
        }
      }

      .cateImg:hover .cateImgShadow {
        opacity: 1;
      }

    }

    .classSort {
      input {
        width: 20%;
        height: 40px;
        border-radius: 4px;
        padding-left: 10px;
        outline: none;
        border: 1px solid rgba(0, 0, 0, 0.3);
      }
    }

    .classShow {
      display: flex;
      align-items: center;

      .el-radio {
        margin-left: 20px;
      }
    }
  }

  .cateBtn {
    margin-top: 200px;
    width: 100%;
    text-align: center;
  }

}